package com.state.demo2;

public class Test {

	public static void main(String[] args) {
		Work w = new Work();
		w.setHour(9);
		w.writeProgram();
		System.out.println("======================");

		w = new Work();
		w.setHour(12);
		w.writeProgram();
		System.out.println("======================");

		w = new Work();
		w.setHour(13);
		w.writeProgram();
		System.out.println("======================");

		w = new Work();
		w.setHour(18);
		w.writeProgram();
		System.out.println("======================");
	}

}
